package chapter13.Z5;

public class Str5 {
    public static void main(String[] args) {
//        定义一个字符串，输出他对应的字节和字符。
        String str = "sb常一鸣";
        char[] c = str.toCharArray();
        for (char x:c) {
            System.out.print(x);
        }
        System.out.println();
        for (char x:c) {
            System.out.print((int)x);
        }

    }
}
